package com.chexiehui.jc.model;

import com.chexiehui.jc.adapter.IStickItem;

import java.io.Serializable;

public class PkLeftModel implements IStickItem, Serializable {
    private String groupName;
    private String paramId;
    private String paramName;
    private int groupIndex;

    public PkLeftModel(String groupName, int groupIndex, String paramId, String paramName) {
        this.groupName = groupName;
        this.groupIndex = groupIndex;
        this.paramId = paramId;
        this.paramName = paramName;
    }

    public String getGroupName() {
        return groupName == null ? "" : groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getParamId() {
        return paramId == null ? "" : paramId;
    }

    public void setParamId(String paramId) {
        this.paramId = paramId;
    }

    public String getParamName() {
        return paramName == null ? "" : paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public int getGroupIndex() {
        return groupIndex;
    }

    public void setGroupIndex(int groupIndex) {
        this.groupIndex = groupIndex;
    }

    @Override
    public long getItemHeadId() {
        return groupIndex;
    }
}
